﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

using AttributeRouting;
using AttributeRouting.Web.Mvc;

namespace Phatent.Website.Areas.Admin.Controllers
{
    [RouteArea("Admin")]
    public class GlobalController : Controller
    {
        [Route("")]
        [Route("Login")]
        public ActionResult Login()
        {
            return View();
        }

        [Route("Logout")]
        public ActionResult Logout()
        {
            System.Web.Security.FormsAuthentication.SignOut();
            return View("Login");
        }

        
    }
}
